#pragma once
#include <widgets/SDialog.h>

class CapitalMarketCNEXForm;
class CapitalMarketCNEX : public SDialog
{
    Q_OBJECT
public:
    explicit CapitalMarketCNEX(const QString& strTitle, QWidget *parent = nullptr);
    ~CapitalMarketCNEX();

    bool is_unfold() const;
    void fold();
    void unfold();

private slots:
    void onCNEXDataArrived();

protected:
    SDialog* clone(QWidget* parent = nullptr) override;
private:
    CapitalMarketCNEXForm* chartForm = nullptr;
};

